Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade JDBC and Atlas connectors #7827

Merged
merged 2 commits into from
Aug 22, 2023
Merged

Conversation

mandy-chessell
Copy link
Contributor

Description

This fix includes:

  • Extensions to the JDBC resource connector to allow it to issue SQL queries
  • Bug fixes the the Apache Atlas integration connector
  • Support for a new AuditLog severity called "Activity" that is used to monitor user calls to the REST API and activity (create, update, read etc) around specific assets. The aim is to provide observability of the most popular assets and the most active users.
  • New type called RelationalDatabase that inherits from Database. It indicates that the database spport the relational schema and can be called via JDBC.

Related Issue(s)

None

Testing

Tested using the labs and also build an integration connector to load metadata from Egeria into a relational database.

Release Notes & Documentation

These updates have already been added to the docs site.

Additional notes

None

@mandy-chessell mandy-chessell merged commit 1cd21b1 into odpi:main Aug 22, 2023
4 checks passed
*/
@Override
public void initializeEmbeddedConnectors(List<Connector> embeddedConnectors)
public void start() throws ConnectorCheckedException

Check notice

Code scanning / CodeQL

Missing Override annotation Note

This method overrides
ConnectorBase.start
; it is advisable to add an Override annotation.
This method overrides
IntegrationConnector.start
; it is advisable to add an Override annotation.
*/
@Override
public void initializeEmbeddedConnectors(List<Connector> embeddedConnectors)
public void start() throws ConnectorCheckedException

Check warning

Code scanning / CodeQL

Non-synchronized override of synchronized method Warning

Method 'start' overrides a synchronized method in
org.odpi.openmetadata.frameworks.connectors.ConnectorBase
but is not synchronized.

if (connectionTimeoutOption != null)
{
int connectionTimeout = Integer.parseInt(connectionTimeoutOption.toString());

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException Note

Potential uncaught 'java.lang.NumberFormatException'.
* PropertyServerException there is a problem accessing the metadata store
*/
public RelatedMetadataElementsResponse getRelationshipByGUID(String serverName,
String serviceURLMarker,

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'serviceURLMarker' is never used.
String serviceURLMarker,
String userId,
String relationshipGUID,
boolean forLineage,

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'forLineage' is never used.
String userId,
String relationshipGUID,
boolean forLineage,
boolean forDuplicateProcessing,

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'forDuplicateProcessing' is never used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant